
cd "C:\Users\sertsios\Dropbox\LPSU replication package RFS\Replication\Log files\Appendix Tables"
clear
log using TableA1.txt, text replace

**Table A1
clear all
cd "C:\Users\sertsios\Dropbox\LPSU replication package RFS\Data"
use LPSU_MainSample_Sep2024, replace
cd "C:\Users\sertsios\Dropbox\LPSU replication package RFS\Tables"

tabstat anti_self target nr_deals_w num_sic3_w exploitative_pat_w exploratory_pat_w dum_exploit_pat dum_explore_pat ceo cfo, ///
 statistics( mean p10 p25 p50 p75 p90 sd count ) columns(statistics) save
 mat tab2= r(StatTotal)'
frmttable using tableA1_sumstat.doc, statmat(tab2)  sdec(2,2,2,2,2,2,2,0) varlabels replace  ctitle("","Mean", "P10" , "P25", "P50", "P75", "P90", "SD", "Total")

cd "C:\Users\sertsios\Dropbox\LPSU replication package RFS\Replication\Log files\Appendix Tables"
log close    
